//
//  BaseUIVC.h
//  MyFamework
//
//  Created by carlos on 13-4-17.
//  Copyright (c) 2013年 carlos. All rights reserved.
//VC基类，用来控制UI

#import "BaseAtomVC.h"
#define KVCAnimDuration 0.35f
#define KVCTransform CGAffineTransformMakeScale(0.9f,0.9f)
@interface BaseUIVC : BaseAtomVC
{
}
//推送到下一个VC
- (void)pushToNextVC:(UIViewController *)nextVC;
//返回上一个界面
- (void)popVC;
//返回前面几个界面
- (void)popVC:(int)vcNum;
//当界面退出的时候要做的事情
-(void)viewDidPop;
//点击事件
-(IBAction)onClickWithXib:(UIView *)sender;
//点击了某个按钮,返回值为YES则说明不由BaseVC继续下发处理
-(BOOL )onClick:(UIView *)sender;

#pragma mark 风火轮
//显示风火轮
- (void)showProgressView;
//停止风火轮
- (void)hideProgressView;


#pragma mark 弹出框
//显示提示信息
- (void)alertMsg:(NSString *)msg;
//显示提示信息
- (void)alertMsg:(NSString *)msg withEvent:(BaseOnClickOne )onClickConfrim;

//取消和确定对话框显示提示信息
- (void)alert2BtnMsg:(NSString *)msg withEvent:(BaseOnClickOne )onClickConfrim;
@end
